<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<table id="simple-table" class="table table-bordered table-hover">
	<thead>
		<tr>
			
			<th class="center">序号</th>
			<th class="center">用户头像</th>
			<th class="center">ID</th>
			<th class="center">用户昵称</th>
			<th class="center">邀请人</th>
			<th class="center">现有﻿金币数</th>
			<th class="center">状态</th>
			<th class="center">充值金额</th>
			<th class="center"><i class="ace-icon fa fa-clock-o bigger-110 hidden-480">登录时间</i></th>
			
		</tr>
	</thead>
	
	<tbody>
		<c:forEach items="${data}" var="itm" varStatus="i">  
	       <tr>
				
				<td class="center">
					${i.index + 1}
				</td>
				<td class="center">
					<img width=50 height=50 src="${itm.userImg }" onerror="onerror=null;src='https://res.wx.qq.com/a/wx_fed/common_assets/16120602/win_weixin21/images/phone_logo2x.png'" />
				</td>
				<td class="center">${itm.userId }</td>
				<td class="center">${itm.nickName }</td>
				<td class="center">${itm.groupId }(${itm.groupName })</td>
	
				<td class="center">
					${itm.goldCoinCount }
				</td>
				<td class="center">
				
				<c:set var="checked" value="checked=checked" />
				<c:if test="${itm.status == 0}">
				<c:set var="checked" value="" />
				</c:if>
				<label>
					<input name="switch-field-1"  onclick="return false;" class="ace ace-switch ace-switch-3" type="checkbox" ${checked }>
					<span class="lbl" style='cursor:auto;'></span>
				</label>
				</td>
				<td class="center">${itm.totalFee }</td>
				<td class="center">${itm.loginTime }</td>
			</tr>
	    </c:forEach>  
			
		</tbody>
	</table>
	<%@include file="../../paging.jsp" %>
